<%= javascript_include_tag "shipowner_maps" %>
<div class="search-area search-form">
  <div id="condition1" class="search-row">
  <label><%= t 'activerecord.attributes.shipowner_map.port' %></label>
    <%= select_tag "shipowner_port_id", options_from_collection_for_select(@ports, :id, :name), :include_blank => true %>

  <label><%= t 'activerecord.attributes.shipowner_map.forward' %></label>
    <%= select_tag "shipowner_forward_id", options_from_collection_for_select(@forwards, :id, :name), :include_blank => true %>

  <label><%= t 'activerecord.attributes.shipowner_map.cy' %></label>
    <%= select_tag "shipowner_cy_id", options_from_collection_for_select(@cies, :id, :name), :include_blank => true %>

  <label><%= t 'activerecord.attributes.shipowner_map.route' %></label>
    <%= select_tag "shipowner_route", options_for_select(@routes), :include_blank => true %>

</div>

<div id="condition4" class="search-row">
  <label><%= t 'activerecord.attributes.shipowner_map.course' %></label>
  <%= select_tag "shipowner_course", options_for_select(@courses), :include_blank => true %>

  <label><%= t 'activerecord.attributes.shipowner_map.voyage' %></label>
  <%= select_tag "shipowner_voyage", options_for_select(@voyages), :include_blank => true %>

  <label><%= t 'activerecord.attributes.shipowner_map.bl_no' %></label>
  <input type="text" id="shipowner_bl_no" value=""  onkeydown="SubmitKeyClick(event)">
  <%= link_to (t 'activerecord.attributes.motorcade.vehicle_seach'), "#",
                 {:style => "margin-left:222px", :class => "inline-block s-btn query-btn", :id => "query-btn",:onClick => 'find_bl()'} %>

</div>
</div>
